package com.syh.jn.scm.dto.operation.system.permission;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import javax.validation.constraints.NotEmpty;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class PermissionSto implements Serializable {
  /**
   * 权限分类:实际权限url名称
   */
  @NotEmpty
  private String permissionName;
  /**
   * url权限:supplier:create
   */
  @NotEmpty
  private String permissionUrl;
  /**
   * 方法权限: POST|GET|DELETE|PUT|PATCH
   */
  @NotEmpty
  private String permissionMethod;
  @NotNull
  private Long typeId;

	private String uuid;
	
	private String typeUuid;
  /**
   * 所属终端系统:DOWNSTREAM,OPERATION,SUPPLIER,UPSTREAM
   */
	private String terminalType;

}
